package com.ruoyi.worker.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DailySalary extends BaseEntity {

    private static final long serialVersionUID = 1L;

   private Long id;

   private Long salaryDailyTotalId;

    @Excel(name = "用工需求单")
    private String workerNeedNo;

    @Excel(name = "用工日期", dateFormat = "yyyy-MM-dd")
    private Date workingDate;

   @Excel(name = "姓名")
   private String workerName;

   @Excel(name = "身份证")
   private String idCard;

   @Excel(name = "性别", readConverterExp = "1=男,2=女")
   private Integer sex;

   @Excel(name = "手机号")
   private String phoneCode;

   @Excel(name = "班组")
   private String groupName;

   private String group;

    @Excel(name = "班次")
    private String timeShiftName;

    private Integer timeShift;

    @Excel(name = "工资（元）", cellType = Excel.ColumnType.NUMERIC, prompt = "员工工资")
    private Double salary;

    /** 修改后工资 */
    @Excel(name = "修改后工资")
    private Double newSalary;

    private String company;

    @Excel(name = "招聘渠道")
    private String companyName;

    @Excel(name = "考勤状态", readConverterExp = "0=未知,1=异常,2=正常")
    private Integer attendanceStatus;


}
